export default {
  data() {
    return {
      activeName: 'profile',
      user: {}
    }
  },
  mounted() {
    this.init()
  },
  methods: {
    init() {
      this.user = this.$store.state.user.profile
    },
    handleClick(tab) {
      this.$router.push({ path: '/account/' + tab.name })
    }
  }
}
